package com.example.springframeworklearning.service;

import com.example.springframeworklearning.aspect.annotation.RefreshCache;
import com.example.springframeworklearning.domain.Order;

import java.time.LocalDateTime;
import java.util.List;

public interface OrderService {

    List<Order> listOrder();

    Order createOrder(String name, LocalDateTime createTime);


    Order deleteOrder(Long id);


    List<Order> page(int current, int size);


    Order createBatchOrder(List<Order> asList);
}
